<!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <title>{{ title }}</title>
    <link rel="shortcut icon" href="/favicon.ico">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inconsolata:400,700">
    {% block css %}{% endblock %}
  </head>
  <body>
    <header>
      <div>
        <a href="/admin">Blog Admin</a>
        <button>
          <i class="fa fa-navicon fa-2x"></i>
        </button>
      </div>
      <a href="/admin/signout" title="Sign out">
        <i class="fa fa-sign-out fa-2x"></i>
      </a>
    </header>
    {% include "admin/menu.njk" %}
    <div id="wrap">
      {% block main %}{% endblock %}
      <footer>© 2018 by
        <a target="_blank" href="https://github.com/Joey-Wong">Joey Wong
        </a>
      </footer>
    </div>
    <script src="/_admin/js/util.js"></script>
    <script src="/_admin/js/common.js"></script>
    {% block js %}{% endblock %}
  </body>
</html>